package com.supreme.commonentity.mysql.primary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName biz_order_item
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "biz_order_item")
public class BizOrderItem implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long orderItemId;

    /**
     * 
     */
    private Long orderId;

    /**
     * 
     */
    private Double orderPrice;

    /**
     * 
     */
    private Integer orderQuantity;

    /**
     * 
     */
    private Integer orderType;

    /**
     * 
     */
    private Date createdAt;

    /**
     * 
     */
    private Date updatedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}